package sicnu.cs.ich.log.mapper;

import org.apache.ibatis.annotations.Mapper;
import sicnu.cs.ich.api.domain.entity.LoginLog;
import sicnu.cs.ich.api.domain.entity.OperationLog;
import sicnu.cs.ich.log.rest.form.LogPageParam;
import sicnu.cs.ich.log.rest.form.LoginPageParam;

import java.util.List;

/**
 * @author CaiKe
 * @date 2021/12/5 16:57
 */
@Mapper
public interface LogMapper {

    List<OperationLog> listOperationLogs(LogPageParam pageParam);

    List<LoginLog> listLoginLogs(LoginPageParam pageParam);
}